<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/5/16
  Time: 9:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head lang="zh">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>用户登录</title>
<style>
:root {
	--theme_color: #0d6efd;
	--theme_gray_bg_color: rgb(219, 219, 219);
	--linear_color: #999;
	--description_color: rgb(182, 182, 182);
	--border_bottom_color: #f7f7f7;
	--border_color: #c0c4cc;
}

* {
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
	list-style: none;
}

.theme_width {
	width: 1500px;
	margin: auto;
}

@media ( max-width : 1500px) {
	.theme_width {
		width: 100%;
		padding: 0 20px;
	}
}

body {
	background-image: url(${pageContext.request.contextPath}/img/bg.jpg);
	background-size: 100%;
	display: flex;
	height: 100vh;
	background-attachment: fixed;
}

main {
	background-color: white;
	border-radius: 5px;
	max-width: 500px;
	margin: auto;
	width: 100%;
	padding: 30px 20px;
}

input {
	display: block;
	width: 100%;
}

h2 {
	text-align: center;
}

.login_form {
	display: block;
}

.register_form {
	display: none;
}

.login_info_form {
	display: none;
}

.form_change {
	display: flex;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
	justify-content: space-around;
}

.form_change span {
	padding-bottom: 5px;
	cursor: pointer;
	color: var(- -description_color);
}

.form_change span.active {
	color: var(- -theme_color);
	border-bottom: 2px solid var(--theme_color);
}

input {
	height: 40px;
	border-radius: 5px;
	margin: 20px auto;
	padding: 0 10px;
	color: #606266;
	border: 1px solid var(--border_color);
}

.reset_a {
	float: right;
	display: block;
	margin: 10px auto;
	color: var(--theme_color);
	text-decoration: none;
}

button {
	display: block;
	width: 100%;
	font-size: 16px;
	color: white;
	height: 44px;
	border-radius: 5px;
	border: none;
	background-color: var(--theme_color);
}

@media ( max-width : 768px) {
	body {
		padding: 0 20px;
	}
}

.avatar_img {
	width: 100px;
	height: 100px;
	display: flex;
	border-radius: 50%;
	margin: auto;
}

.nickname {
	text-align: center;
	margin-bottom: 30px;
	margin-top: 10px;
	font-size: 18px;
}

.a_btn {
	padding: 10px 20px;
	color: white;
	border-radius: 5px;
	margin: 0 5px;
	line-height: 20px;
	text-decoration: none;
}

.btn_flex {
	display: flex;
	width: 100%;
	justify-content: center;
}

.btn_flex .a_btn:nth-child(1) {
	background-color: var(--theme_color);
}

.btn_flex .a_btn:nth-child(2) {
	background-color: rgb(165, 226, 74);
}

.btn_flex .a_btn:nth-child(3) {
	background-color: rgb(235, 80, 53);
}

@media ( max-width : 500px) {
	.a_btn {
		padding: 10px 10px;
	}
}

.mark_bg {
	display: none;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.notice_main {
	max-width: 500px;
	height: auto;
	margin: 50px auto auto auto;
	background-color: white;
	border-radius: 5px;
	padding: 30px 20px;
}
</style>
</head>
<body>
	<main>
		<div style="display: flex;flex-direction: column;">
			<h2 id="stats">注册反馈</h2>
			<p style="color: green; font-size: 20px; text-align: center; margin: 10px;">
				注册成功，请妥善保管你的信息
			</p>
			<img style="margin: auto;width: 250px;" src="${pageContext.request.contextPath}/img/interesting.gif"
						class="user_img" />
			<p style="margin: 10px 0;">昵称：${new_user.userName }</p>
			<p style="margin: 10px 0;">账号：${new_user.userAccount }</p>
			<p style="margin: 10px 0;">密码：${new_user.userPassword }</p>
			<p style="margin: 10px 0;">等级：${new_user.userPosition }</p>
			<a class="reset_a" href="/login.jsp">已经有账号？快去登录吧！</a>
		</div>
	</main>
</body>
</html>
